package com.manage.func.ordermanagement.loanorder.dao;

import java.util.List;

import com.manage.base.dao.IBaseDao;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderBooksBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderExcelBean;
import com.manage.func.ordermanagement.loanorder.model.LoanOrderExportQueryBean;

public interface ILoanOrderDao extends IBaseDao<LoanOrderBean> {

	/**
	 * 查询活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	List<LoanOrderBean> selectLoanOrderList(LoanOrderBean bean);


	/**
	 * 更新活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int updateLoanOrder(LoanOrderBean queryBean);
	
	/**
	 * 更新快递信息
	 * 
	 * @param queryBean
	 * @return
	 */
	int updateExpressMessage(LoanOrderBean queryBean);

	/**
	 * 查询活动总数接口
	 * 
	 * @param queryBean
	 * @return
	 */
	int selectTotalCount(LoanOrderBean queryBean);

	/**
	 * 查询活动接口
	 * 
	 * @param queryBean
	 * @return
	 */
	List<LoanOrderBooksBean> selectLoanOrderBooks(LoanOrderBean bean);


	int deleteLoanOrder(LoanOrderBean queryBean);


	int deleteLoanOrderDetail(LoanOrderBean queryBean);


	int insertCart(LoanOrderBean queryBean);
	
	List<LoanOrderExcelBean> selectLoanOrderExcel(LoanOrderExportQueryBean queryBean);
}
